package com.dxb.yomall.member.fegin;

import com.dxb.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * yomall-coupon 远程服务调用
 * Created by daixn on 2021/1/9 22:18
 */
@FeignClient("yomall-coupon")
public interface CouponFeginService {
    @RequestMapping("/coupon/coupon/info/{id}")
    public R info(@PathVariable("id") Long id);
}
